#define _CRT_SECURE_NO_WARNINGS 1
class Solution {
public:
    int countOdds(int low, int high)
    {
        return (high - low) / 2 + (low % 2 || high % 2);
    }
};